
#include "LockGuard.h"

LockGuard::LockGuard(pthread_mutex_t *lock) : _lock(lock)
{
    _lock.lock();
}
LockGuard::~LockGuard()
{
    _lock.unlock();
}
